﻿<!DOCTYPE html>

<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link href="~/Assets/css/mui.css" rel="stylesheet" />
    <link href="~/Assets/css/icons-extra.css" rel="stylesheet" />
    <title>@ViewBag.Title</title>
    <script src="~/Assets/js/base/angular.js"></script>
    <script src="~/Assets/js/base/jquery.min.js"></script>
    <script src="~/Assets/js/mui.js"></script>
    <script src="~/Assets/js/base/jquery.cookie.js"></script>
    <script src="~/Assets/js/base/angular-cookie.js"></script>
    @RenderSection("css")
    <style>
        .title {
            margin: 20px 15px 10px;
            color: #6d6d72;
            font-size: 15px;
        }

        .oa-contact-cell.mui-table .mui-table-cell {
            padding: 11px 0;
            vertical-align: middle;
        }

        .oa-contact-cell {
            position: relative;
            margin: -11px 0;
        }

        .oa-contact-avatar {
            width: 75px;
        }

            .oa-contact-avatar img {
                border-radius: 50%;
            }

        .oa-contact-content {
            width: 100%;
        }

        .oa-contact-name {
            margin-right: 20px;
        }

        .oa-contact-name, oa-contact-position {
            float: left;
        }
    </style>
</head>
<body ng-app="WebApp" ng-cloak ng-controller="MainController">
    <header class="mui-bar mui-bar-nav">
        @*<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>*@
        <h1 class="mui-title">@ViewBag.Title</h1>
    </header>
    <nav class="mui-bar mui-bar-tab">
        <a class="mui-tab-item" href="#tabbar">
            <span class="mui-icon mui-icon-list"></span>
            <span class="mui-tab-label">待办</span>
        </a>
        <a class="mui-tab-item" ng-class="{'mui-active':firstLevel.checkform}" href="../CheckForm/MCheckMenu">
            <span class="mui-icon mui-icon-eye"></span>
            <span class="mui-tab-label">检查</span>
        </a>
        <a class="mui-tab-item" ng-class="{'mui-active':firstLevel.placesafety}" href="../PlaceSafety/MMyPlaceList">
            <span class="mui-icon mui-icon-location"></span>
            <span class="mui-tab-label">场所</span>
        </a>
        <a class="mui-tab-item" href="#tabbar-with-map">
            <span class="mui-icon mui-icon-person"></span>
            <span class="mui-tab-label">账户</span>
        </a>
    </nav>
    <div class="mui-content">
        @RenderBody()
    </div>
    <script src="~/Assets/js/libs/ng-file-upload-shim.min.js"></script>
    <script src="~/Assets/js/libs/ng-file-upload.min.js"></script>
    <script src="~/Assets/js/pg/app.js"></script>
    @RenderSection("js")

    <script>
        mui('body').on('tap', 'a', function () {
            if (this.href != "#" && this.href != null && this.href != "") {
                window.top.location.href = this.href;
            }
        });


    </script>
</body>
</html>
